package cn.bdqn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: ycbdqn
 * @Package: cn.bdqn.entity 用户操作日志实体类
 * @Author: huat
 * @Date: 2020/3/5 22:16
 * @Version: 1.0
 */
@Setter
@Getter
public class SysLog implements Serializable {
    private Long id;

    private String username; //用户名

    private String operation; //操作

    private String method; //方法名


    private String ip; //ip地址
    @JsonFormat(pattern =  "yyyy年MM月dd日 HH:mm:ss")
    private Date createDate; //操作时间
}
